package com.bjc.aclservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bjc.aclservice.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: guli_parent
 * @description: 权限 Mapper 接口
 * @author: bjc
 * @create: 2020-11-22 13:34
 */
public interface PermissionMapper extends BaseMapper<Permission> {


    List<String> selectPermissionValueByUserId(@Param("id") String id);

    List<String> selectAllPermissionValue();

    List<Permission> selectPermissionByUserId(String userId);
}
